package enumDemo1;

/*
 * 学员类
 */

public class Students {
	private int id; // 学号
	private String name; // 姓名
	private Genders gender; // 性别
	private int age; // 年龄

	public Students() {

	}

	public Students(int id, String name, Genders gender, int age) {
		this.id = id;
		this.name = name;
		this.gender = gender;
		this.age = age;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Genders getGender() {
		return gender;
	}

	public void setGender(Genders gender) {
		this.gender = gender;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	
}
